import request from '@/utils/request'

// 查询私桩预约单列表
export function personalAppointmentList(query) {
  return request({
    url: '/admin-api/trade/personalAppointment/list',
    method: 'get',
    params: query
  })
}

// 查询私桩预约单详情
export function getPersonalAppointment(query) {
  return request({
    url: `/admin-api/trade/personalAppointment/${id}`,
    method: 'get',
  })
}
